﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Combat/Combat.master" AutoEventWireup="true" CodeFile="NewExam2.aspx.cs" Inherits="Combat_NewExam2" StylesheetTheme="Content" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<ul class="topmenu">
<li>士兵警衔：</li>
<li>
    <asp:DropDownList ID="ddlRank" Width="200" runat="server" 
        onselectedindexchanged="ddlRank_SelectedIndexChanged" >
    </asp:DropDownList>
</li>
<li>士兵岗位：</li>
<li>
<asp:DropDownList ID="ddlStation" Width="200" runat="server" 
        AutoPostBack="True" 
        onselectedindexchanged="ddlStation_SelectedIndexChanged">
    </asp:DropDownList>
</li>
</ul>
<table cellspacing="0" cellpadding="0" width="100%" class="intable">
        <caption>           
                <asp:Label ID="lblTaskTitle" runat="server" ForeColor="Red" Text=""></asp:Label></caption>
            <tr>
            <td>
                <asp:CheckBoxList ID="chkDepartment" runat="server">
                </asp:CheckBoxList>
            </td>
            </tr>
        <tr>
            <td>
                <asp:DataList ID="dltList" Width="100%" runat="server" 
                    onitemdatabound="dltList_ItemDataBound">
                    <ItemTemplate>
                      <table width="100%" cellpadding="0" cellspacing="0">
                                 <tr>
                                    <td  style=" background-color:#d1d1d1; height:25px;">
                                   &nbsp;&nbsp;<%# Eval("ItemSkillName") %>[<%# Eval("AlisSkillName") %>]<asp:Label ID="ID" runat="server" Visible=false Text='<%#Eval("ID") %>'></asp:Label>
                                    </td>
                                </tr>
                                <tr>
                                <td>                              
                        <asp:DataList ID="dltItemList" onitemdatabound="dltItemList_ItemDataBound" Width="100%" 
                                        runat="server" onitemcommand="dltItemList_ItemCommand">
                        <ItemTemplate>
                            <table width="100%" cellpadding="0" cellspacing="0">
                                 <tr>
                                    <td  style=" background-color:#f1f1f1;">
                                    &nbsp;&nbsp;&nbsp;&nbsp; <%# Eval("ItemSkillName") %>[<%# Eval("AlisSkillName") %>]<asp:Label ID="ID" runat="server" Visible=false Text='<%#Eval("ID") %>'></asp:Label>
                                    </td>
                                    <td style="background-color:#f1f1f1; width:10%;"><asp:CheckBox ForeColor="Red" AutoPostBack=true OnCheckedChanged="chkAll_CheckedChanged" ID="chkAll" Text="全选" runat="server" /></td>
                                </tr>
                                <tr>
                                    <td >
                                        <asp:CheckBoxList ID="chkSkill" RepeatColumns="2" runat="server">
                                        </asp:CheckBoxList>
                                    </td>                                   
                                </tr>
                            </table>
                        </ItemTemplate>
                      </asp:DataList>
                        </td>
                                </tr>
                                </table>
                    </ItemTemplate>
                </asp:DataList></td>
        </tr>
        <tr>
        <td align="center">
            <asp:Button ID="btnSave" runat="server" Text="保存" onclick="btnSave_Click" OnClientClick='return confirm("确定要保存吗？")' />&nbsp;
            <asp:Button ID="btnHome" runat="server" Text="返回" onclick="btnHome_Click" />
            <asp:Label ID="lblPrompt" runat="server" Text=""></asp:Label>
        </td>
        </tr>
        </table>
</asp:Content>

